@import "../index";

@numberInfo-prefix-cls: ~"@{css-prefix}-number-info";

.@{numberInfo-prefix-cls} {

  .ivu-pro-number-info-subtitle {
    color: @text-color;
    font-size: @font-size-base;
    height: 22px;
    line-height: 22px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    white-space: nowrap;
  }

  .number-info-value {
    margin-top: 4px;
    font-size: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    white-space: nowrap;

    & > span {
      color: @layout-header-background;
      display: inline-block;
      line-height: 32px;
      height: 32px;
      font-size: 24px;
      margin-right: 32px;
    }

    .sub-total {
      color: @text-color;
      font-size: @font-size-large;
      vertical-align: top;
      margin-right: 0;
      i {
        font-size: 12px;
        transform: scale(0.82);
        margin-left: 4px;
      }
      :global {
        .ivu-icon-caret-up {
          color: @red-6;
        }
        .ivu-icon-caret-down {
          color: @green-6;
        }
      }
    }
  }
}